<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" type="text/css"   th:href="@{layui/css/layui.css}"/>
    <link rel="stylesheet" type="text/css"   th:href="@{css/init/style.css}" />
    <link rel="stylesheet" type="text/css"   th:href="@{css/init/easyui.css}"/>
</head>
<body>
<div class="page-container">
    <h1>登录</h1>
    <form th:action="@{/login}" method="post" name="save">
        <input type="text" name="punsterName" id="punsterName" placeholder="用户名"
               data-options="required:true,validType:'loginName'"><BR>
        <input type="password" name="password" id="password" placeholder="密码"><BR>
        <button type="submit" name="but" id="btn" value="0">登录</button>
        <button type="submit" name="but" value="1">注册</button>
        <button type="submit" name="but" value="2">测试</button>
    </form>
</div>
</body>
<script th:src="@{js/jquery-3.1.1.min.js}"></script>
<script type="text/javascript" th:src="@{js/jquery.easyui.min.js}"></script>
<script type="text/javascript" th:src="@{layui/layui.js}"></script>
<script type="text/javascript" th:src="@{js/init/valid.js}"></script>
</html>